package com.seed.core.column;

import com.seed.core.enumeration.SqlOp;

import java.math.BigInteger;

public class BigIntColumn extends Column {
    private BigInteger defVal; //COLUMN_DEF 默认值
    private BigInteger min = new BigInteger("-9223372036854775808");
    private BigInteger max = new BigInteger("9223372036854775807");

    @Override
    public SqlOp getDefaultOp() {
        return SqlOp.eq;
    }

    public BigInteger getDefVal() {
        return defVal;
    }

    public void setDefVal(BigInteger defVal) {
        this.defVal = defVal;
    }

    public BigInteger getMin() {
        return min;
    }

    public void setMin(BigInteger min) {
        this.min = min;
    }

    public BigInteger getMax() {
        return max;
    }

    public void setMax(BigInteger max) {
        this.max = max;
    }

    @Override
    public Column copy() {
        return null;
    }
}
